package com.zhigh.calcite.startproject;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.Banner;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jmx.JmxAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, JmxAutoConfiguration.class})
@MapperScan(basePackageClasses = {StartApplication.class})
public class StartApplication {
    public static void main(String[] args) {
        new SpringApplicationBuilder(StartApplication.class).bannerMode(Banner.Mode.OFF).main(StartApplication.class).run(args);
    }
}
